<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<a href="{url:/excel/export}">导出</a>
<a href="{url:/excel/export}">导出</a>
<table border="1">
    <tr>
        <th>ID</th>
        <th>用户名</th>
        <th>密码</th>
        <th>真实姓名</th>
        <th>工资</th>
        <th>操作</th>
    </tr>
    {foreach:items=$this->data  item=$val }
    <tr>
        <td>{$val['id']}</td>
        <td>{$val['username']}</td>
        <td>{$val['password']}</td>
        <td>{$val['realname']}</td>
        <td>{$val['salary']}</td>
        <td><a href="{url:/excel/del/id/$val['id']}">删除</a></td>
    </tr>
    {/foreach}
</table>
</body>
</html>